<!-- jobs\templates\job_list.html-->
{% extends 'base.html' %}

{% block content %}
    {% if job_list_html %}
        <ul>
            {% for job in job_list_html %}
                <li>
                    {{ job.job_type_html }}
                    <a href="/job_detail/{{ job.id }}/" style="color:blue">{{ job.job_name }}</a>
                    {{ job.city_name_html }}
                </li>
            {% endfor %}
        </ul>
    {% else %}
        <p>No jobs are available.</p>
    {% endif %}
{% endblock %}
